﻿namespace SuperMarieApi.App.Controllers.Framework.XmlConfig.Model
{
    using System;

    /// <summary>
    /// 站点配置实体类
    /// </summary>
    [Serializable]
    public class siteconfig
    {
        public siteconfig()
        { }
        private string _webname = "";
        private string _weburl = "";
        private string _weblogo = "";
        private string _webcompany = "";
        private string _webaddress = "";
        private string _webtel = "";
        private string _webfax = "";
        private string _webmail = "";
        private string _webcrod = "";
        private string _webtitle = "";
        private string _webkeyword = "";
        private string _webdescription = "";
        private string _webcopyright = "";

        private string _webpath = "";
        private string _webmanagepath = "";
        private int _staticstatus = 0;
        private string _staticextension = "";
        private int _memberstatus = 1;
        private int _commentstatus = 0;
        private int _logstatus = 0;
        private int _webstatus = 1;
        private string _webclosereason = "";
        private string _webcountcode = "";

        private string _smssendapiurl = "";
        private string _smsbalanceapiurl = "";
        private string _smsusername = "";
        private string _smspassword = "";

        private string _emailsmtp = "";
        private int _emailport = 25;
        private string _emailfrom = "";
        private string _emailusername = "";
        private string _emailpassword = "";
        private string _emailnickname = "";

        private string _filepath = "";
        private string _cdnimgpath = "";
        private int _filesave = 1;
        private string _fileextension = "";
        private int _attachsize = 0;
        private int _imgsize = 0;
        private int _imgmaxheight = 0;
        private int _imgmaxwidth = 0;
        private int _thumbnailheight = 0;
        private int _thumbnailwidth = 0;
        private int _watermarktype = 0;
        private int _watermarkposition = 9;
        private int _watermarkimgquality = 80;
        private string _watermarkpic = "";
        private int _watermarktransparency = 10;
        private string _watermarktext = "";
        private string _watermarkfont = "";
        private int _watermarkfontsize = 12;

        private string _sysdatabaseprefix = "";
        private string _sysencryptstring = "";

        #region 网站基本信息==================================
        /// <summary>
        /// 网站名称
        /// </summary>
        public string webname
        {
            get { return this._webname; }
            set { this._webname = value; }
        }
        /// <summary>
        /// 网站域名
        /// </summary>
        public string weburl
        {
            get { return this._weburl; }
            set { this._weburl = value; }
        }
        /// <summary>
        /// 网站LOGO
        /// </summary>
        public string weblogo
        {
            get { return this._weblogo; }
            set { this._weblogo = value; }
        }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string webcompany
        {
            get { return this._webcompany; }
            set { this._webcompany = value; }
        }
        /// <summary>
        /// 通讯地址
        /// </summary>
        public string webaddress
        {
            get { return this._webaddress; }
            set { this._webaddress = value; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string webtel
        {
            get { return this._webtel; }
            set { this._webtel = value; }
        }
        /// <summary>
        /// 传真号码
        /// </summary>
        public string webfax
        {
            get { return this._webfax; }
            set { this._webfax = value; }
        }
        /// <summary>
        /// 管理员邮箱
        /// </summary>
        public string webmail
        {
            get { return this._webmail; }
            set { this._webmail = value; }
        }
        /// <summary>
        /// 网站备案号
        /// </summary>
        public string webcrod
        {
            get { return this._webcrod; }
            set { this._webcrod = value; }
        }
        /// <summary>
        /// 网站首页标题
        /// </summary>
        public string webtitle
        {
            get { return this._webtitle; }
            set { this._webtitle = value; }
        }
        /// <summary>
        /// 页面关健词
        /// </summary>
        public string webkeyword
        {
            get { return this._webkeyword; }
            set { this._webkeyword = value; }
        }
        /// <summary>
        /// 页面描述
        /// </summary>
        public string webdescription
        {
            get { return this._webdescription; }
            set { this._webdescription = value; }
        }
        /// <summary>
        /// 网站版权信息
        /// </summary>
        public string webcopyright
        {
            get { return this._webcopyright; }
            set { this._webcopyright = value; }
        }
        #endregion

        #region 功能权限设置==================================
        /// <summary>
        /// 网站安装目录
        /// </summary>
        public string webpath
        {
            get { return this._webpath; }
            set { this._webpath = value; }
        }
        /// <summary>
        /// 网站管理目录
        /// </summary>
        public string webmanagepath
        {
            get { return this._webmanagepath; }
            set { this._webmanagepath = value; }
        }
        /// <summary>
        /// 是否开启生成静态
        /// </summary>
        public int staticstatus
        {
            get { return this._staticstatus; }
            set { this._staticstatus = value; }
        }
        /// <summary>
        /// 生成静态扩展名
        /// </summary>
        public string staticextension
        {
            get { return this._staticextension; }
            set { this._staticextension = value; }
        }
        /// <summary>
        /// 开启会员功能
        /// </summary>
        public int memberstatus
        {
            get { return this._memberstatus; }
            set { this._memberstatus = value; }
        }
        /// <summary>
        /// 开启评论审核
        /// </summary>
        public int commentstatus
        {
            get { return this._commentstatus; }
            set { this._commentstatus = value; }
        }
        /// <summary>
        /// 后台管理日志
        /// </summary>
        public int logstatus
        {
            get { return this._logstatus; }
            set { this._logstatus = value; }
        }
        /// <summary>
        /// 是否关闭网站
        /// </summary>
        public int webstatus
        {
            get { return this._webstatus; }
            set { this._webstatus = value; }
        }
        /// <summary>
        /// 关闭原因描述
        /// </summary>
        public string webclosereason
        {
            get { return this._webclosereason; }
            set { this._webclosereason = value; }
        }
        /// <summary>
        /// 网站统计代码
        /// </summary>
        public string webcountcode
        {
            get { return this._webcountcode; }
            set { this._webcountcode = value; }
        }
        #endregion

        #region 短信平台设置==================================
        /// <summary>
        /// 短信余额的API地址
        /// </summary>
        public string SmsBalanceApiUrl
        {
            get { return this._smsbalanceapiurl; }
            set { this._smsbalanceapiurl = value; }
        }
        /// <summary>
        /// 短信发送方法的API地址
        /// </summary>
        public string SmsSendApiUrl
        {
            get { return this._smssendapiurl; }
            set { this._smssendapiurl = value; }
        }
        /// <summary>
        /// 短信平台登录账户名
        /// </summary>
        public string smsusername
        {
            get { return this._smsusername; }
            set { this._smsusername = value; }
        }
        /// <summary>
        /// 短信平台登录密码
        /// </summary>
        public string smspassword
        {
            get { return this._smspassword; }
            set { this._smspassword = value; }
        }
        #endregion

        #region 邮件发送设置==================================
        /// <summary>
        /// STMP服务器
        /// </summary>
        public string emailsmtp
        {
            get { return this._emailsmtp; }
            set { this._emailsmtp = value; }
        }
        /// <summary>
        /// SMTP端口
        /// </summary>
        public int emailport
        {
            get { return this._emailport; }
            set { this._emailport = value; }
        }
        /// <summary>
        /// 发件人地址
        /// </summary>
        public string emailfrom
        {
            get { return this._emailfrom; }
            set { this._emailfrom = value; }
        }
        /// <summary>
        /// 邮箱账号
        /// </summary>
        public string emailusername
        {
            get { return this._emailusername; }
            set { this._emailusername = value; }
        }
        /// <summary>
        /// 邮箱密码
        /// </summary>
        public string emailpassword
        {
            get { return this._emailpassword; }
            set { this._emailpassword = value; }
        }
        /// <summary>
        /// 发件人昵称
        /// </summary>
        public string emailnickname
        {
            get { return this._emailnickname; }
            set { this._emailnickname = value; }
        }
        #endregion

        #region 文件上传设置==================================
        /// <summary>
        /// 附件上传目录
        /// </summary>
        public string filepath
        {
            get { return this._filepath; }
            set { this._filepath = value; }
        }
        /// <summary>
        /// 图片服务器地址
        /// </summary>
        public string cdnimgpath
        {
            get { return this._cdnimgpath; }
            set { this._cdnimgpath = value; }
        }
        /// <summary>
        /// 附件保存方式
        /// </summary>
        public int filesave
        {
            get { return this._filesave; }
            set { this._filesave = value; }
        }
        /// <summary>
        /// 附件上传类型
        /// </summary>
        public string fileextension
        {
            get { return this._fileextension; }
            set { this._fileextension = value; }
        }
        /// <summary>
        /// 文件上传大小
        /// </summary>
        public int attachsize
        {
            get { return this._attachsize; }
            set { this._attachsize = value; }
        }
        /// <summary>
        /// 图片上传大小
        /// </summary>
        public int imgsize
        {
            get { return this._imgsize; }
            set { this._imgsize = value; }
        }
        /// <summary>
        /// 图片最大高度(像素)
        /// </summary>
        public int imgmaxheight
        {
            get { return this._imgmaxheight; }
            set { this._imgmaxheight = value; }
        }
        /// <summary>
        /// 图片最大宽度(像素)
        /// </summary>
        public int imgmaxwidth
        {
            get { return this._imgmaxwidth; }
            set { this._imgmaxwidth = value; }
        }
        /// <summary>
        /// 生成缩略图高度(像素)
        /// </summary>
        public int thumbnailheight
        {
            get { return this._thumbnailheight; }
            set { this._thumbnailheight = value; }
        }
        /// <summary>
        /// 生成缩略图宽度(像素)
        /// </summary>
        public int thumbnailwidth
        {
            get { return this._thumbnailwidth; }
            set { this._thumbnailwidth = value; }
        }
        /// <summary>
        /// 图片水印类型
        /// </summary>
        public int watermarktype
        {
            get { return this._watermarktype; }
            set { this._watermarktype = value; }
        }
        /// <summary>
        /// 图片水印位置
        /// </summary>
        public int watermarkposition
        {
            get { return this._watermarkposition; }
            set { this._watermarkposition = value; }
        }
        /// <summary>
        /// 图片生成质量
        /// </summary>
        public int watermarkimgquality
        {
            get { return this._watermarkimgquality; }
            set { this._watermarkimgquality = value; }
        }
        /// <summary>
        /// 图片水印文件
        /// </summary>
        public string watermarkpic
        {
            get { return this._watermarkpic; }
            set { this._watermarkpic = value; }
        }
        /// <summary>
        /// 水印透明度
        /// </summary>
        public int watermarktransparency
        {
            get { return this._watermarktransparency; }
            set { this._watermarktransparency = value; }
        }
        /// <summary>
        /// 水印文字
        /// </summary>
        public string watermarktext
        {
            get { return this._watermarktext; }
            set { this._watermarktext = value; }
        }
        /// <summary>
        /// 文字字体
        /// </summary>
        public string watermarkfont
        {
            get { return this._watermarkfont; }
            set { this._watermarkfont = value; }
        }
        /// <summary>
        /// 文字大小(像素)
        /// </summary>
        public int watermarkfontsize
        {
            get { return this._watermarkfontsize; }
            set { this._watermarkfontsize = value; }
        }
        #endregion
    }
}
